package com.bihu.bihudemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
//开启缓存
@EnableCaching
//开启定时任务
@EnableScheduling
@MapperScan("com.bihu.bihudemo.dao")
public class BihudemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(BihudemoApplication.class, args);
    }

}
